package com.up.stores.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author KLE1NBLUE&LackOxy
 * @since 2022-10-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Order对象", description="")
public class Order1 implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "订单id")
    @TableId(value = "ord_id", type = IdType.AUTO)
    private Integer ordId;

    @ApiModelProperty(value = "普通用户id")
    private Integer norId;

    @ApiModelProperty(value = "管理员id此处的nor_id和adm_id有一个置空")
    private Integer admId;

    @ApiModelProperty(value = "备注信息")
    private String ordNote;

    @ApiModelProperty(value = "收货人姓名")
    private String recvName;

    @ApiModelProperty(value = "收货人电话")
    private String recvPhone;

    @ApiModelProperty(value = "收货人所在省")
    private String recvProvince;

    @ApiModelProperty(value = "收货人所在市")
    private String recvCity;

    @ApiModelProperty(value = "收货人所在区")
    private String recvArea;

    @ApiModelProperty(value = "收货详细地址")
    private String recvAddress;

    @ApiModelProperty(value = "总价")
    private Long totalPrice;

    @ApiModelProperty(value = "状态：   0-未审核 ，1-通过 ，2-未通过")
    private Integer status;

    @ApiModelProperty(value = "状态：0-未支付，1-已支付，2-已取消，3-已发货 ,4-已完成")
    private Integer status2;

    @ApiModelProperty(value = "物流id（快递号）")
    @TableField("log_Id")
    private String logId;

    @ApiModelProperty(value = "下单时间")
    private String orderTime;

    @ApiModelProperty(value = "支付时间")
    private String payTime;

    @ApiModelProperty(value = "创建人")
    private String createdUser;

    @ApiModelProperty(value = "创建时间")
    private Date createdTime;

    @ApiModelProperty(value = "修改人")
    private String modifiedUser;

    @ApiModelProperty(value = "修改时间")
    private Date modifiedTime;


}
